package com.pubinfo.passbook.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pubinfo.passbook.common.entity.TSubsidiaryInfo;
import com.pubinfo.passbook.common.model.bo.SubsidiaryDepartment;
import com.pubinfo.passbook.common.model.bo.witeoff.CityInfo;
import com.pubinfo.passbook.common.model.dto.system.SubsidiaryPrivateKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.pubinfo.passbook.entity.TSubsidiaryInfo
 */
public interface TSubsidiaryInfoMapper extends BaseMapper<TSubsidiaryInfo> {
  
  IPage<TSubsidiaryInfo> listTSubsidiaryInfo(IPage<TSubsidiaryInfo> page, @Param("obj") SubsidiaryPrivateKey obj);
  
  List<SubsidiaryDepartment> listByAcctUser(@Param("acct") String acct);
  
  List<CityInfo> findCityInfo();
  
  CityInfo findCityInfoByNsrsbh(String nsrsbh);

  String selectAuditUserByNsrsbh(String nsrsbh);
}




